<?php
namespace app\model;
class CoinAddress extends Common
{
    const COIN_ADDRESS_STATUS_APPENDING = 1;
    const COIN_ADDRESS_STATUS_APPROVED = 2;
    const COIN_ADDRESS_STATUS_REJECTED = -1;
    public function member()
    {
        return $this->hasOne(Member::class,"id",'member_id')->field("id,email,realname");
    }
}